package com.zrf.gulimall.product.feign;

import com.zrf.gulimall.commnon.core.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Author zhanrf
 * @Date 2021/12/18 22:36
 */
@FeignClient("service-ware")
public interface WareFeignService {

	/**
	 * 是否有库存
	 * @param skuIdList
	 * @return
	 */
	@PostMapping("/ware/waresku/hasstock")
	R skuHasStock(@RequestBody List<Long> skuIdList);
}
